<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>{$admin_title}</title>
<include file="./core/Modules/Center/Tpl/Public/js_css_header.html" />
</head>

<body>
	<include file="./core/Modules/Center/Tpl/Public/header.html" />
	<div class="cont_wrap">
		<div class="position">当前位置:&nbsp;{$location}</div>
		<div class="proc_line">
			<div class="search">
				<form name="formSearch" action="" method="get" style="margin:0;padding:0;">
			    <input type="hidden" name="cid" value="{$Think.get.cid}"/>
			    &nbsp;名称搜索：<input type="text" name="searchValue" value="{$Think.get.searchValue}"/><input type="submit" name="searchBtn" value="提交查询"/> (如果不按照条件搜索，请将该条件留空！)
			    </form>
			</div>
		    <div class="add"><a href="__APP__/center/dynamicModule/todo/?cid={$Think.get.cid}">新增</a></div>
		    <div class="clear"></div>
		</div>
		<table width="100%" border="0" cellpadding="0" cellspacing="1" class="list_table_line">
	          <tr>
	            <td width="12%" class="table_head"><div align="center"><span>序号</span></div></td>
	            <td width="50%" class="table_head"><div align="center"><span>标题</span></div></td>
	            <td width="16%" class="table_head"><div align="center"><span>所属类别</span></div></td>
				<td width="7%" class="table_head"><div align="center"><span>浏览量</span></div></td>
	            <td width="15%" class="table_head"><div align="center">基本操作</div></td>
	          </tr>
	          <!-- 列表循环开始 -->
			  <foreach name="pagination.resultList" item="obj">
			  <tr class="line" bgcolor="#FFFFFF">
	            <td class="list_td_height"><div align="center">{$obj.id}</div></td>
	            <td><div align="center"><span><a href="<php>echo LinkUtil::getLink($obj['id'],$obj['catalog_id']);</php>" target="_blank">{$obj.title}</a></span></div></td>
				<td><div align="center"><strong style="color:gray;">{$obj.catalog_name}</strong></div></td>
				<td><div align="center"><span>{$obj.view_num}</span></div></td>
	            <td><div align="center"><a href="__APP__/center/dynamicModule/todo/?cid={$obj.catalog_id}&id={$obj.id}">编辑&nbsp;|&nbsp;</a><a href="javascript:toConfirm('是否确定删除该数据？','__APP__/center/dynamicModule/delete/?cid={$Think.get.cid}&id={$obj.id}','__APP__');" target="_self">删除</a></div></td>
	          </tr>
			  </foreach>
			  <!-- 列表循环结束 -->
	     </table>
	     <div style="margin-top: 10px;">{$pagination.htmlurl}</div>
	</div>
</body>
</html>
